﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// DataRow 信息
/// </summary>
public class ColumnInfo
{
    public string Name { get; set; }

    public string Type { get; set; }

    public int Length { get; set; }
    /// <summary>是否可空</summary>
    public bool IsNull { get; set; }
    /// <summary>是否自增</summary>
    public bool IsIdentity { get; set; }
    /// <summary>是否主键</summary>
    public bool IsKey { get; set; }
    /// <summary>备注</summary>
    public string Remark { get; set; }

    #region 页面显示

    ///// <summary>控件说明</summary>
    //public string C_Title { get; set; }
    ///// <summary>控件ID：如：name</summary>
    //public string C_Id { get; set; }
    ///// <summary>控件类型</summary>
    //public string C_Type { get; set; }
    ///// <summary>控件长度</summary>
    //public string C_Length { get; set; }
    ///// <summary>控件值验证长度</summary>
    //public string C_VLength { get; set; }
    ///// <summary>控件验证类型</summary>
    //public string C_VType { get; set; }
    ///// <summary>是否可用</summary>
    //public string C_Enable { get; set; }
    #endregion
}